﻿<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <meta name="format-detection" content="telephone=no" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
    <title>下载</title>
    <link rel="stylesheet" href="css/style.css?v=1.11">
    <link rel="stylesheet" href="css/index.css?v=1.11">
    <script src="js/jquery-1.8.3.min.js?v=1.11"></script>
    <script src="js/flexible.js?v=1.11"></script>
    <script src="layer-mobile/layer.js?v=1.11"></script>
</head>

<body style="background:#fff">
    <div class="download">
        <div class="down">
            <img src="/image/logo.png" class="down-logo" />
            <p class="down-db">得币</p>
            <p class="down-de">1.0（版本） - 2MB </p>
            <p class="down-de">更新于：2018-07-27</p>
            <input class="down-btn" type="button"  value="下载安装" />
        </div>
    </div>
    <div class="down-bg">
        <img src="/image/guidance.png" />
    </div>
</body>

</html>
<script type="text/javascript">
    $(function () {
        function is_weixn() {
            var ua = navigator.userAgent.toLowerCase();
            if (ua.match(/MicroMessenger/i) == "micromessenger") {
                return true;
            } else {
                return false;
            }
        }
        $('.down-btn').on('click', function () {

            if (is_weixn()) { //微信浏览器
                $('.down-bg').show();
            } else {
                window.location.href = 'http://43.229.36.44/download/kt_release_10.apk';
            }
        })
        $('.down-bg').on('click', function () {
            $(this).hide();
        })
        
    
    })
</script>
